package com.zhaokuner.customer.config;

import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.context.annotation.Configuration;

/**
 * 类描述:打印配置
 *
 * @author 赵希坤 zhaoxikun
 * @date 2021/1/11 14:56
 */
@Log4j2
@Configuration
public class MyApplicationRunner implements ApplicationRunner {

    @Value("${project.app}")
    private String projectApp;

    @Override
    public void run(ApplicationArguments args) {
        log.info("project.app:" + projectApp);
    }
}
